package com.jxtc.enterprise.hr.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Schema(description = "HR 端导出订单数据所需要传递的数据")
@Getter
@Setter
@ToString
public class OrderExportDTO {

    @Schema(description = "公司 ID", example = "c752804d0cd410267f404dd3f0457a57")
    @NotBlank(message = "公司 ID 不能为空")
    private String companyId;

    @Schema(description = "日期列表", example = "[\"2024-05-31\", \"2024-05-30\"]")
    private List<String> dateList;

    @Schema(description = "是否全选，如果该字段为 true，dateList 可以不传值", example = "false")
    private Boolean selectAll;
}
